package com.newtouch.bxzs.enterprise.service;

import java.util.List;

import org.springframework.web.bind.annotation.RequestBody;

import com.newtouch.bxzs.enterprise.model.bo.CustomerFamilyRelationshipBO;
import com.newtouch.bxzs.enterprise.model.vo.CustomerFamilyRelationshipVO;
import com.newtouch.bxzs.enterprise.model.vo.CustomerFamilyVO;


/**
 * 客户家庭关系service接口
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年3月19日</td>
 * <td>chenfugui</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author chenfugui
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
public interface CustomerFamilyRelationshipService {

	/**
     * 查询家庭关系
     *
     * @param CustomerFamilyRelationshipVO 家庭关系查询VO
     * @return 家庭关系BO
     */
	public List<CustomerFamilyRelationshipBO> getCustomerFamilyRelationshipList( CustomerFamilyRelationshipVO familyRelationshipVO );
	
	 /**
     * 新增、修改家庭关系
     *
     * @param familyRelationshipId 成员ID, dataSource 数据来源
     */
	public String modifyCustomerFamilyRelationship(CustomerFamilyVO customerFamilyVO);
	
	 /**
     * 逻辑删除家庭关系
     *
     * @param familyRelationshipId 成员ID, dataSource 数据来源
     */
	public String deleteCustomerFamilyRelationship(String familyRelationshipId,String dataSource);
	
	/**
     * 获取对端家庭关系信息
     *
     * @param CustomerFamilyRelationshipVO 家庭关系查询VO
     */
	public List<CustomerFamilyRelationshipBO> acceptionCustomerFamilyRelationship( @RequestBody CustomerFamilyRelationshipVO familyRelationshipVO );
}
